package com.xb.service;


import com.github.pagehelper.PageInfo;
import com.xb.entity.Register;
import com.xb.util.Result;

import javax.servlet.http.HttpSession;

/**
 * Service接口
 */
public interface IRegisterService {

    /**
     * 分页查询列表
     *
     * @param register
     * @return 集合
     */
    public PageInfo<Register> selectRegisterList(Register register, Integer page, Integer limit);

    /**
     * 新增
     *
     * @param register
     * @return 结果
     */
    public Result insertRegister(Register register, HttpSession session);

    /**
     * 修改
     *
     * @param register
     * @return 结果
     */
    public int updateRegister(Register register);

}
